import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/distribute',
      component: () => import('@/view/DistributeMessage'),
      meta: { title: '消息发布', icon: 'dashboard' }
    },
    {
      path: '/feedback',
      component: () => import('@/view/FeedBack'),
      meta: { title: '消息展示', icon: 'dashboard' }
    },
    {
      path: '/game',
      // component: Layout,
      // redirect: '/dashboard',
      // name: 'Dashboard',
      component: () => import('@/view/Game'),
      meta: { title: '小游戏', icon: 'dashboard' }
    },
    {
      path: '/showFeedBack',
      component: () => import('@/view/ShowFeedBack'),
      meta: { title: '查询反馈', icon: 'dashboard' }
    },
    {
      path: '/showMessage',
      component: () => import('@/view/ShowMessage'),
      meta: { title: '查询消息', icon: 'dashboard' }
    }
    
  ]
})
